package cn.iocoder.yudao.module.trade.controller.admin.orderpostconfig.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 订单回传扣量配置分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class OrderPostConfigPageReqVO extends PageParam {

    @Schema(description = "配置类型(1:百分比；2:小于；3:大于)", example = "2")
    private Integer configType;

    @Schema(description = "配置类型对应值")
    private Integer configValue;

    @Schema(description = "第三方类型")
    private Integer drainageType;

    @Schema(description = "排序号")
    private Integer sort;

    @Schema(description = "状态(0：停用；1：启用)", example = "2")
    private Boolean status;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}